package com.wfm.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.UniqueConstraint;

import com.core.entity.AbstractEntity;

/***
 * 流程定义——节点表单
 * 
 */
@Entity
@Table(  uniqueConstraints = { 
	    @UniqueConstraint(columnNames = {"WFID","NID" }
	     )}
)
public class TB_WFM_DEF_NODEFORM extends AbstractEntity {
	private static final long serialVersionUID = 1L; 
	@Column(length=32,nullable=false)
	private String WFID; // 流程ID TB_WFM_DEF_WORKFLOW.ID  
	@Column(length=32,nullable=false)
	private String NID; // 环节定义ID ， TB_WFM_DEF_NODE.ID  
	@Column(length = 100)
	private String FORM_CODE; // 表单编码：功能——SysFunction.FCODE,文档模板——TB_DP_DOCPAGE.ID
	@Column(length = 32)
	private String FORM_TYPE; // 表单类型：功能——SysFunction      ,文档模板——TB_DP_DOCPAGE
	
	public String getWFID() {
		return WFID;
	}
	public void setWFID(String wFID) {
		WFID = wFID;
	}
	public String getNID() {
		return NID;
	}
	public void setNID(String nID) {
		NID = nID;
	}
	public String getFORM_CODE() {
		return FORM_CODE;
	}
	public void setFORM_CODE(String fORM_CODE) {
		FORM_CODE = fORM_CODE;
	}
	public String getFORM_TYPE() {
		return FORM_TYPE;
	}
	public void setFORM_TYPE(String fORM_TYPE) {
		FORM_TYPE = fORM_TYPE;
	}
	 
	 
}
